#ifndef IMAGELISTDISPLAY_H
#define IMAGELISTDISPLAY_H

#include <QApplication>
#include <QWidget>
#include <QPushButton>
#include <QHBoxLayout>
#include <QLabel>
#include <imagelist.h>
#include <QDebug>

class ImageListDisplay : public QWidget
{
    Q_OBJECT
private:
    QHBoxLayout *botLayout;
    QPushButton *prevBut;
    QPushButton *nextBut;
    QLabel *imageOne;
    QLabel *imageTwo;
    QLabel *imageThree;
    QLabel *imageFour;
    QLabel *imageFive;
    int currentImage;
    int listSize;
    QSize imageSize;

public:
    ImageListDisplay();
    bool prevEnabled();
    bool nextEnabled();
    void setPrevEnabled(bool enabled);
    void setNextEnabled(bool enabled);
    void loadImages(QPixmap img1, QPixmap img2, QPixmap img3, QPixmap img4, QPixmap img5, int size, int pos);

    bool eventFilter(QObject *obj, QEvent *event);

signals:
    void previmg();
    void nextimg();
    void pressImage(int x);
};

#endif // IMAGELISTDISPLAY_H
